package com.example.entity;

import java.math.BigDecimal;

public class Goods {
    private int gid;
    private String gname;
    private BigDecimal price;
    private String type;
    private String img;
    private String video;
    private String author;
    private String duration;
    private String describe1;
    private double scorerequired;
    private User user;

    @Override
    public String toString() {
        return "Goods{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", price=" + price +
                ", type='" + type + '\'' +
                ", img='" + img + '\'' +
                ", video='" + video + '\'' +
                ", author='" + author + '\'' +
                ", duration='" + duration + '\'' +
                ", describe1='" + describe1 + '\'' +
                ", scorerequired=" + scorerequired +
                ", user=" + user +
                '}';
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public double getScorerequired() {
        return scorerequired;
    }

    public void setScorerequired(double scorerequired) {
        this.scorerequired = scorerequired;
    }

    public String getDescribe1() {
        return describe1;
    }

    public void setDescribe1(String describe1) {
        this.describe1 = describe1;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}
